<?php
require_once '../dbms_university_courses_mvc/Connection.php';
require_once '../dbms_university_courses_mvc/Model/Page.php';
/**
 * Gets the file name of the page from the database and displays the correct file
 */
$page_id = mysql_real_escape_string($_GET['page_id']);

/* @var $page Page */
$page = Page::constructFrom_page_id($page_id);

include $page->get_page_file() . ".php";

?>